import sys
import os


def curr(path):
    """取得脚本所在目录的相对位置"""
    exec = sys.argv[0]
    return os.path.join(os.path.dirname(exec), path)


with open(curr("poem.txt"), "rt") as fin:
    content = fin.read()
    print(content)
